#include "Wall.h"

Wall::Wall(int x, int y, TileManager* tm, int wallImage)//741
{
	Drawable::x =x;
	Drawable::y = y;
	Drawable::collides = 2; 
	
	Drawable::lightEmitted = 0;
	graphic  =SDL_CreateRGBSurface(SDL_HWSURFACE, 32, 32, 32,
		0x00, 0x00, 0x00, 0x00);
 
	Draw::apply_surface(0 , 0 , tm->tileset , graphic ,& tm->images[wallImage]);
}


Wall::~Wall(void)
{
}
